package br.ufrj.cg.view;

import java.awt.Graphics;
import java.awt.Image;

import javax.swing.JPanel;

public class PreviewPanel extends JPanel{

	Image image;
	
	public Image getImage() {
		return image;
	}

	public void setImage(Image image) {
		this.image = image;
	}

	@Override
	public void paint(Graphics arg0) {
		super.paint(arg0);
		arg0.drawImage(image, 3, 4, this);
	}
}
